/*
 * The Yard Utilties - http://www.theyard.net/
 * 
 * Copyright (c) 2008 by Vlideshow, Inc..  All Rights Resrved.
 * 
 * This library is free software; you can redistribute it and/or modify it under the 
 * terms of the GNU Lesser General Public License as published by the Free Software 
 * Foundation; either version 2.1 of the License, or (at your option) any later 
 * version. 
 * 
 * This library is distributed in the hope that it will be useful, but WITHOUT ANY 
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License along 
 * with this library; if not, write to the Free Software Foundation, Inc., 
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
 */
package net.theyard.components.netconnectionsm
{
  /**
   * This class is just a wrapper for all the string response
   * codes that a flash.event.NetStatusEvent can return.
   * <p>
   * Use these instead of the actual string literals to
   * avoid typos.
   * </p>
   */
  public class NetStatus
  {
    static public const STREAM_BUFFER_EMPTY:String="NetStream.Buffer.Empty";
    static public const STREAM_BUFFER_FULL:String="NetStream.Buffer.Full";
    static public const STREAM_BUFFER_FLUSH:String="NetStream.Buffer.Flush";
    static public const STREAM_PUBLISH_START:String="NetStream.Publish.Start";
    static public const STREAM_PUBLISH_BADNAME:String="NetStream.Publish.BadName";
    static public const STREAM_PUBLISH_IDLE:String="NetStream.Publish.Idle";
    static public const STREAM_UNPUBLISH_SUCCESS:String="NetStream.Unpublish.Success";
    static public const STREAM_PLAY_START:String="NetStream.Play.Start";
    static public const STREAM_PLAY_STOP:String="NetStream.Play.Stop";
    static public const STREAM_PLAY_FAILED:String="NetStream.Play.Failed";
    static public const STREAM_PLAY_STREAMNOTFOUND:String="NetStream.Play.StreamNotFound";
    static public const STREAM_PLAY_RESET:String="NetStream.Play.Reset";
    static public const STREAM_PLAY_PUBLISHNOTIFY:String="NetStream.Play.PublishNotify";
    static public const STREAM_PLAY_UNPUBLISHNOTIFY:String="NetStream.Play.UnpublishNotify";
    static public const STREAM_PAUSE_NOTIFY:String="NetStream.Pause.Notify";
    static public const STREAM_UNPAUSE_NOTIFY:String="NetStream.Unpause.Notify";
    static public const STREAM_RECORD_START:String="NetStream.Record.Start";
    static public const STREAM_RECORD_NOACCESS:String="NetStream.Record.NoAccess";
    static public const STREAM_RECORD_STOP:String="NetStream.Record.Stop";
    static public const STREAM_RECORD_FAILED:String="NetStream.Record.Failed";
    static public const STREAM_SEEK_FAILED:String="NetStream.Seek.Failed";
    static public const STREAM_SEEK_INVALIDTIME:String="NetStream.Seek.InvalidTime";
    static public const STREAM_SEEK_NOTIFY:String="NetStream.Seek.Notify";
    static public const CONNECTION_CALL_BADVERSION:String="NetConnection.Call.BadVersion";
    static public const CONNECTION_CALL_FAILED:String="NetConnection.Call.Failed";
    static public const CONNECTION_CALL_PROHIBITED:String="NetConnection.Call.Prohibited";
    static public const CONNECTION_CONNECT_CLOSED:String="NetConnection.Connect.Closed";
    static public const CONNECTION_CONNECT_FAILED:String="NetConnection.Connect.Failed";
    static public const CONNECTION_CONNECT_SUCCESS:String="NetConnection.Connect.Success";
    static public const CONNECTION_CONNECT_REJECTED:String="NetConnection.Connect.Rejected";
    static public const CONNECTION_CONNECT_APPSHUTDOWN:String="NetConnection.Connect.AppShutdown";
    static public const CONNECTION_CONNECT_INVALIDAPP:String="NetConnection.Connect.InvalidApp";
    static public const SHAREDOBJECT_FLUSH_SUCCESS:String="SharedObject.Flush.Success";
    static public const SHAREDOBJECT_FLUSH_FAILED:String="SharedObject.Flush.Failed";
    static public const SHAREDOBJECT_BADPERSISTENCE:String="SharedObject.BadPersistence";
    static public const SHAREDOBJECT_URIMISMATCH:String="SharedObject.UriMismatch";

  }
}
